<?php

namespace App\Dao\Task;

use App\Model\Exam\Exam;
use App\Model\Task\Task;
use App\Model\Task\TaskSteps;
use App\Model\Task\TaskStepsRules;
use Yj\Daos\BaseDao;
use Yj\Daos\Verify;

/**
 * @var TaskStepsRules
 */
class TaskStepsRulesDao extends BaseDao
{
    public function DaoWhere(array $params)
    {
        return $this->getDaoQuery($params, function (Verify $verify) {
            $verify('id', function ($query, $id) {
                $query->where('id', $id);
            });
        });
    }
}